<?php 
$this->headTitle('Quản lý game', 'append'); 
?>
<div class="grid">
    <div class="breadcrumbs">
        <a class="item-1" href="/index">Trang chủ</a> › 
        <a class="item-2" href="/admin/game"><?php $title = $this->headTitle(); if(isset($title[0])) echo $title[0]; ?></a> › 
        <span class="item-3" href="#"><?php echo $this->gameCheck['gameName'];?></span>
        <div class="clear-both"></div>
    </div>
    <div class="box header">Sửa thông tin game</div>
    <div class="box content">
    	<?php
            if(isset($this->mess)){
                if($this->flag == 'success')
                    echo '<div class="notification success">',$this->mess,'</div>';
                elseif($this->flag == 'alert')
                    echo '<div class="notification alert">',$this->mess,'</div>';
                else
                    echo '<div class="notification error">',$this->mess,'</div>';
            }
            if($this->gameCheck['gameImg']){
                //echo '<img src="'.$this->gameCheck['gameImg'].'" style="max-width: 120px;margin-bottom: 10px;"/><div class="clear-both"></div>';
            }
            echo $this->form;
            
           
        ?>
		<script type="text/javascript">
                $('form .zend_form #gameConfig-element').after('<dt id="repair-label"><label for="repair" class="optional">Bảo trì chức năng</label></dt><dd id="repair-element"><?php echo $str;?></dd>');
    			$('#gameId').attr('readonly','readonly');
                $('form').css('background',"url(<?php echo $this->gameCheck['gameImg'];?>) top right no-repeat")
        </script>
    </div>
</div>
